﻿@model Exam.Models.Student

@{
    ViewBag.Title = "学生详情";
}

<h2>学生详情</h2>

<div>
    <h4>学生信息</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.StuName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.SturLoginName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.SturLoginName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuLoginPwd)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuLoginPwd)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuSex)
        </dt>

        <dd>
            @(Model.StuSex ? "男" : "女")
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuGrade)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuGrade)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.SturPhone)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.SturPhone)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuEmail)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuEmail)
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("编辑", "Edit", new { id = Model.StuID }) |
    @Html.ActionLink("返回学生列表", "Index")
</p>
